import { hspTasks } from '@ohos/hvigor-ohos-plugin';
import { AppRouterPlugin } from 'app_router_hvigor_plugin'

export const routerConfig: AppRouterConfig = {
  //依赖路由模块名称
  routerDependencyName: "@zhongrui/app_router",
  //路由名称
  routerClassName: "AppRouter",
  entryDependencyName: "@xiaoyu/user",
  debug: true,
  isEntry: false
}

export default {
  system: hspTasks, /* Built-in plugin of Hvigor. It cannot be modified. */
  plugins: [
    AppRouterPlugin(routerConfig)
  ]
}
